import {
	get,post
} from "../utils/request"
//公告列表
export const getNewList = (params) => get("/user/news/list", params)

//轮播图
export const advertisement = (params) => get("/advertisement/list", params)

//门店列表
export const storesList = (params) => get("/user/stores/list", params)

//获取门店详情
export const getstores = (params) => get("/user/stores/get", params)

//维修类型
export const repairstypeList = (params) => get("/user/repairstype/list", params)

///添加维修
export const Addrepairs = (params) => post("/user/repairs/add", params)

//我的报修列表
export const repairsList = (params) => get("/user/repairs/list", params)

//报修详情
export const getrepairsData = (params) => get("/user/repairs/get", params)

//发送短信验证码
export const member = (data) => post("/member/sendcode", data)

//会员登录（验证码登录方式)

export const memberloginByCode = (data) => post("/member/loginByCode", data)

//会员登录（密码登录方式）
export const memberregByCode = (data) => post("/member/login", data)

//生活缴费

export const FeeList = (params) => post("/user/fee/list", params)

//问题类型
export const questiontype = (params) => get("/user/questiontype/list", params)

//反馈问题列表
export const questionsList = (params) => get("/user/questions/list",params)

//获取单条反馈问题
export const getquestionsList = (params) => get("/user/questions/get",params)

//获取房间列表
export const housesList = (params) => get("/user/houses/list",params)

//获取我的车辆
export const carList = (params) => get("/user/car/list",params)

//批量删除车辆
// 
export const deleteall = (data) => post("/user/car/deleteall",data)

//添加车辆
export const addcar = (data) => post("/user/car/add",data)

//修改个人资料
export const updatemember = (data) => post("/user/member/update",data)

//注册用户房屋认证情况
export const checkhouses = () => get("/user/houses/check")

//获取楼栋列表
export const buildingList = (params) => get("/user/building/list",params)

// //获取房间列表

// export const housesList = (params) => get("/user/houses/list",params)

//获取居民类型
export const userinfotypeList = (params) => get("/user/userinfotype/list",params)

//添加居民

export const adduserinfo = (data) => post("/user/userinfo/add",data)

// 会员注册
export const reg = (data)=>post('/member/reg',data)

// 会员注册验证手机号